package com.max.back.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.util.Date;

@Data
@EqualsAndHashCode(callSuper = false)
@TableName("prescription")
public class Prescription implements Serializable {

    private static final long serialVersionUID = 1L;
    @TableId("id")
    private String id;

    @TableField("patient_history_id")
    private String patientHistoryId;

    @TableField("name")
    private String name;

    @TableField("description")
    private String description;

    @TableField("total_cost")
    private Double totalCost;

    @TableField("department_id")
    private Integer payStatus;

    @TableField("deleted")
    private Boolean deleted;

    @TableField("gmt_create")
    private Date gmtCreate;

    @TableField("gmt_modify")
    private Date gmtModify;
}
